package com.hai.test.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.hai.test.R;
import com.hai.test.ui.base.BaseLifeCycleActivity;

public class MainActivity extends BaseLifeCycleActivity {
    private static final String TAG = "MainActivity";
    TextView tv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
//        startActivity(new Intent(this, TestRecycleViewActivity.class));
        //before the commmit ok;
    }


    public void clk(View view) {
        switch (view.getId()) {
            case R.id.btnAdd:
                break;
            case R.id.tv:
                break;
            case R.id.btnTouch:

                break;
            case R.id.toActivity:
                startActivity(new Intent(this, ScrollUpActivity.class));
//                finish();
                break;
        }
    }

}
